import { Application } from "egg";

export default (app: Application) => {
  const { controller, router, middleware } = app;

  router.get("/", controller.home.index);

  router.post("/sendMessageToStore", middleware.checkSign(), controller.home.sendMessageToStore);
};
